package groep1.graph.graphstrategy.line;

import groep1.graph.GraphObject;
import groep1.graph.graphstrategy.GraphStrategy;

import java.util.Collection;

/**
 * A strategy for generating lines to connect fields.
 * 
 * @author Niels Billen
 * @version 0.1
 * @since 0.1
 */
public interface LineStrategy extends GraphStrategy {
	/**
	 * Returns a set of lines connecting the different objects.
	 * 
	 * @param objects
	 *            The objects to connect.
	 * @return a collection of lines connecting the objects.
	 */
	public void connect(Collection<GraphObject> objects);

	/**
	 * Returns the lines of this strategy.
	 * 
	 * @return the lines of this strategy.
	 */
	public Collection<Line> getLines();
}
